import {get} from '../utils/request';

/*
* vip卡管理
* */
const VIP = 'vr/store/vip/';

export function getCards(parmas) {
    return get(`${VIP}list`, parmas);
}

export function getCard(parmas) {
    return get(`${VIP}detail`, parmas);
}

/*
* 订单明细
* */
const ORDER = 'vr/store/order/';

export function getOrderList(params) {
    return get(`${ORDER}list`, params);
}

const T = '/api-1';

export function getIncome(query) {
    return get(`${T}/statistics/findIncomeStatistics`, query);
}

export function getDevice(query) {
    return get(`${T}/statistics/findDeviceRunStatistics`, query);
}

export function getGamesRun(query) {
    return get(`${T}/statistics/findGameRunStatistics`, query);
}
